package com.cdu.guoxinan.www.smartcom.service;

import com.cdu.guoxinan.www.smartcom.domian.dto.AddRequestDTO;
import com.cdu.guoxinan.www.smartcom.domian.dto.RepairApplyDTO;
import com.cdu.guoxinan.www.smartcom.domian.dto.RequestDTO;
import com.cdu.guoxinan.www.smartcom.domian.vo.RepairApplyVO;
import com.cdu.guoxinan.www.smartcom.domian.vo.SelectOption;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RepairApplyService {
    PageInfo<RepairApplyVO> getAllRepairs(RepairApplyDTO dto);
    List<SelectOption> getPriorityOptions();
    List<SelectOption> getStatusOptions();
    int addRepairApply(AddRequestDTO addRequestDTO );
    int updateRepairApply(RequestDTO requestDTO);
    int deleteRepairApply(Long requestId);
    int deleteBatch(Integer[] ids);
}
